﻿
<div class="formPanel" style="margin-left:10px;">

<style>
td.ltd { width:100px; text-align:right;vertical-align:top; padding-right:10px}
</style>	
	
		<form action="#{ActionLink}" method="post" class="ajaxPostForm">
		<table style="width: 100%;width:750px;">
			<tr>
				<td class="ltd">_{siteName}</td>
				<td><input name="SiteName" type="text" style="width: 300px" value="#{site.SiteName}">&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">_{url}</td>
				<td><input name="SiteUrl" type="text" style="width: 300px" value="#{site.SiteUrl}">&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">备案号</td>
				<td><input name="BeiAn" type="text" style="width: 300px" value="#{site.BeiAn}">&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">_{webmasterName}</td>
				<td><input name="Webmaster" type="text" style="width: 300px" value="#{site.Webmaster}">&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">Email</td>
				<td><input name="Email" type="text" style="width: 300px" value="#{site.Email}">&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">_{metaTitle}</td>
				<td>
				<input name="PageDefaultTitle" style="width: 600px" type="text" value="#{site.PageDefaultTitle}">&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">_{metaKeywords}</td>
				<td><input name="Keywords" type="text" style="width: 600px" value="#{site.Keywords}">&nbsp;</td>
			</tr>

			<tr>
				<td class="ltd">_{metaDescription}</td>
				<td>
				<textarea name="Description" style="width: 600px; height: 50px">#{site.Description}</textarea>&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
			
			<tr>
				<td class="ltd">_{netSpider}</td>
				<td><textarea name="SpiderString" style="width: 600px; height: 50px">#{site.SpiderString}</textarea>&nbsp;</td>
			</tr>
			<tr>
				<td class="ltd">上传文件最大允许</td>
				<td><input name="UploadFileMaxMB" type="text" style="width: 50px" value="#{site.UploadFileMaxMB}">MB</td>
			</tr>
			<tr>
				<td class="ltd">_{allowedUploadFileType}</td>
				<td><textarea name="UploadFileTypes" style="width: 600px; height: 50px">#{site.UploadFileTypesString}</textarea>&nbsp;</td>
			</tr>

			<tr>
				<td class="ltd">上传图片最大允许</td>
				<td><input name="UploadPicMaxMB" type="text" style="width: 50px" value="#{site.UploadPicMaxMB}">MB</td>
			</tr>
			<tr>
				<td class="ltd">_{allowedUploadPicType}</td>
				<td><textarea name="UploadPicTypes" style="width: 600px; height: 50px">#{site.UploadPicTypesString}</textarea>&nbsp;</td>
			</tr>

			<tr>
				<td class="ltd">关闭全站评论</td>
				<td><input name="CloseComment" type="checkbox" #{closeCommentChecked} /> 关闭评论
				<span class="note">(一旦关闭，新闻、博客、图片等都将无法评论)</span>
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
			
			<tr>
				<td class="ltd">_{statsEnabled}</td>
				<td><input name="StatsEnabled" type="checkbox" #{statsChecked} /> _{enable}
				</td>
			</tr>
			<tr>
				<td class="ltd">_{statsJs}</td>
				<td><div style="width:600px;">
                    <textarea name="StatsJs" style="width: 600px; height: 150px">#{statsJs}</textarea></div></td>
			</tr>
			
			<tr>
				<td>&nbsp;</td>
				<td><input name="Submit1" type="submit" value="_{editSetting}" class="btn">&nbsp;</td>
			</tr>
		</table>
		</form>
	
	</div>	

